import request from "./request";

export function getAuthCode(params) {
    return request({
        url: "/dongle/getDongleCode",
        method: "post",
        params,
    });
}

export function login(params) {
    return request({
        url: "/dongle/loginDongle",
        method: "post",
        params,
    });
}